/*
 * Created on 2005-6-1
 *
 * 
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.dcivision.webservice.samples.example4;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.dcivision.user.bean.UserRecord;
import com.dcivision.webservice.samples.example4.UserException;

public class ListUserService {
	protected Log log = LogFactory.getLog(this.getClass().getName());
	public UserRecord[] getUserList(){
		log.debug("ListUserService  begin!");
		ListUserBO listBo=new ListUserBO();
		UserRecord[] users=null;
		try{
			users=listBo.listAll();
		}catch(UserException e){
		}
		log.debug("ListUserService  end!");
		return users; 		
	} 
}
